﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Frame.Lib.Core.User;
using Frame.Lib.Common;

namespace Frame.Web
{
    public partial class Logout : System.Web.UI.Page
    {
        private UserBO Users
        {
            get
            {
                return UserBO.Instance<UserBO>();
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            PageBase.ClearSession();
            if (AppSetting.MultiCompany)
            {
                Response.Redirect("CompanyLogin.aspx");
            }
            else
            {
                Response.Redirect("Login.aspx");
            }
        }
    }
}